package com.example.springmvc_demo2.mapper;

import com.example.springmvc_demo2.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    List<Student> findAllStudents();
    Student findStudentById(Long id);
    void insertStudent(Student student);
    void updateStudent(Student student);
    void deleteStudent(Long id);
    Student findStudentByStudentId(String studentId);
} 